<?php
function captcha_text(){
?>
<script>
function js(){
captcha_text.src="captcha/captcha_text.php?"+Math.random()+""
}
</script>
<img src="captcha/captcha_text.php" border="0" width="400" height="60" name="captcha_text"><br>
<table border='0'>
<tr>
<td><input type="text" name="captcha_text"></td>
<td><img border=0 src="captcha/refresh.png" width="30" height="30" title="captcha frissítése" onclick="js()" style="cursor:pointer"></td>
</tr>
</table>
<?php
}

function captcha_text_2(){
?>
<script>
function js2(){
captcha_text2.src="captcha/captcha_text2.php?"+Math.random()+""
}
</script>
<img src="captcha/captcha_text2.php" border="0" width="100" height="30" name="captcha_text2"><br>
<table border='0'>
<tr>
<td><input type="text" name="captcha_text2"></td>
<td><img border=0 src="captcha/refresh.png" width="30" height="30" title="captcha frissítése" onclick="js2()" style="cursor:pointer"></td>
</tr>
</table>
<?php
}

function captcha_num($argMsg){
?>
<script>
function js3()
{
//captcha_num.src="captcha/captcha_num.php?"+Math.random()+""
document.images["captcha_num"].src="captcha/captcha_num.php?"+Math.random()+""
}
</script>
<img src="captcha/captcha_num.php" border="0" width="400" height="60" name="captcha_num"><br>
számmal a fenti szöveges szám, pl 435
<table align="center" border='0'>
<tr>
<td><input type="text" autocomplete="off"  name="captcha_num" size="7"></td>
<td><img border=0 src="captcha/refresh.png" width="30" height="30" title="captcha frissítése" onclick="js3()" style="cursor:pointer"></td>
<td><font color="#ff0000"><?php echo $argMsg;?></font></td>
</tr>
</table>
<?php
}

function captcha_num_2(){
?>
<script>
function js4(){
captcha_num2.src="captcha/captcha_num2.php?"+Math.random()+""
}
</script>
<img src="captcha/captcha_num2.php" border="0" width="400" height="30" name="captcha_num2"><br>
<table border='0'>
<tr>
<td><input type="text" name="captcha_num2"></td>
<td><img border=0 src="captcha/refresh.png" width="30" height="30" title="captcha frissítése" onclick="js4()" style="cursor:pointer"></td>
</tr>
</table>
<?php
}

function captcha_mat(){
?>
<script>
function js5(){
captcha_mat.src="captcha/captcha_mat.php?"+Math.random()+""
}
</script>
<img src="captcha/captcha_mat.php" border="0" width="400" height="60" name="captcha_mat"><br>
<table border='0'>
<tr>
<td><input type="text" name="captcha_mat"></td>
<td><img border=0 src="captcha/refresh.png" width="30" height="30" title="captcha frissítése" onclick="js5()" style="cursor:pointer"></td>
</tr>
</table>
<?php
}

function captcha_mat_2(){
?>
<script>
function js6(){
captcha_mat2.src="captcha/captcha_mat2.php?"+Math.random()+""
}
</script>
<img src="captcha/captcha_mat2.php" border="0" width="100" height="30" name="captcha_mat2"><br>
<table border='0'>
<tr>
<td><input type="text" name="captcha_mat2"></td>
<td><img border=0 src="captcha/refresh.png" width="30" height="30" title="captcha frissítése" onclick="js6()" style="cursor:pointer"></td>
</tr>
</table>
<?php
}

function captcha_white(){
?>
<script>
function js7(){
captcha_white.src="captcha/white_captcha.php?"+Math.random()+""
}
</script>
<img src="captcha/white_captcha.php" border="0" width="200" height="80" name="captcha_white"><br>
<table border='0'>
<tr>
<td><input type="text" name="captcha_white"></td>
<td><img border=0 src="captcha/refresh.png" width="30" height="30" title="captcha frissítése" onclick="js7()" style="cursor:pointer"></td>
</tr>
</table>
<?php
}
?>
